home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 13
/
CU Amiga Magazine's Super CD-ROM 13 (1997)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1997-08].iso
/
CUCD
/
Graphics
/
Ghostscript
/
man
/
man1
/
ps2epsi.0
< prev
next >
Wrap
Text File
|
1997-04-12
|
4KB
|
133 lines
ps2epsi(1) ps2epsi(1)
NNAAMMEE
ps2epsi - generate conforming postscript
SSYYNNOOPPSSIISS
ppss22eeppssii _i_n_f_i_l_e_._p_s [ _o_u_t_f_i_l_e_._p_s ]
DDEESSCCRRIIPPTTIIOONN
ppss22eeppssii is a utility, based on _G_h_o_s_t_s_c_r_i_p_t_, which takes as
input a postscript file and generates a new output file
which conforms to Adobe's _E_n_c_a_p_s_u_l_a_t_e_d _P_o_s_t_s_c_r_i_p_t _I_n_t_e_r_-
_c_h_a_n_g_e or EPSI format. This is a special form of encapsu-
lated postscript (EPS) which adds a bitmap version of the
final displayed page (in the form of postscript comments)
to the beginning of the file. This bitmap can be used by
programs which understand EPSI (usually word processors or
DTP programs) to give a preview version of the postscript
on screen. The displayed quality is often not very good
(eg. low resolution, no colours), but the final printed
version uses the real postscript, and thus has the normal
postscript quality.
OOPPTTIIOONNSS
None.
UUNNIIXX UUSSAAGGEE
Using the supplied shell script, the command is:
ps2epsi _i_n_f_i_l_e_._p_s [ _o_u_t_f_i_l_e_._e_p_s_i ]
where _i_n_f_i_l_e_._p_s is the input file and _o_u_t_f_i_l_e_._e_p_s_i is the
output EPSI file. If the output filename is omitted, it
will be generated from the input filename. If a standard
extension (.ps, .cps, .eps or .epsf) is used, it will be
replaced with the output extension .epsi.
MMSSDDOOSS UUSSAAGGEE
Using the supplied batch file, the command is simply:
ps2epsi _i_n_f_i_l_e_._p_s _o_u_t_f_i_l_e_._e_p_i
where _i_n_f_i_l_e_._p_s is the original postscript file, and _o_u_t_-
_f_i_l_e_._e_p_i is the name of the output file.
LLIIMMIITTAATTIIOONNSS
Successful encapsulation of arbitrary postscript files
cannot be guaranteed, as there are certain restrictions in
what is permitted in a postscript file for it to be prop-
erly encapsulated. ppss22eeppssii does a little extra work to
try to help encapsulation, and it automatically calculates
the bounding box (required for all encapsulated postscript
files), so, most of the time, it does a pretty good job.
There are bound to be cases, however, where the
March 8, 1994 1
ps2epsi(1) ps2epsi(1)
encapsulation will not work, because of the content of the
original postscript file.
FFRRAAMMEEMMAAKKEERR
The _F_r_a_m_e_m_a_k_e_r DTP system is one application which under-
stands EPSI files, and ppss22eeppssii has been tested on a number
of postscript diagrams from a variety of sources, using
Framemaker 3.0 on a Sun. _F_r_a_m_e_m_a_k_e_r on other platforms
should be able to use these files, although I have not
been able to test this.
FFIILLEESS
ps2epsi.bat - MSDOS batch file
ps2epsi - Unix shell script
ps2epsi.ps - the Ghostscript program which does the work
SSEEEE AALLSSOO
gs(1)
AAUUTTHHOORR
George Cameron <george@bio-medical-physics.aberdeen.ac.uk>
March 8, 1994 2